<?php
namespace app\common\validate;

use think\Validate;

class Login extends Validate
{
    // 增加输入验证信息;
    protected $rule=[
      ['user_code',  'require|alphaNum|min:4','请填入员工编号|员工编号只能是字母和数字|员工编号最少四位'],
      ['password',  'require|alphaNum|min:6','请输入密码|密码编号只能是字母和数字|密码最少六位'],
    ];
    
}
